Omit patched_versions: if the GHSA has no patched version identifiers.#664
Conversation
* Also add a `notes: Never patched`.
|
@jasnow could you review this branch? I think this implements the fix you want. |
|
Note for gems/arabic-prawn/CVE-2014-2322.yml, the output of patched_versions_for(package) is not empty?, it is: I get this when I run "rake": |
|
@jasnow added logic to filter out when |
|
Adding this made it work: |
|
@jasnow that implies the |
|
puts vulnerabilities.inspect on line 343 [{"package"=>{"name"=>"redcloth", "ecosystem"=>"RUBYGEMS"}, "vulnerableVersionRange"=>"< 4.3.0", "firstPatchedVersion"=>{"identifier"=>"4.3.0"}}] |
|
@jasnow OK, added your code. It should work now. |
|
Here is the compllete advisory when "Never patched" is true: |
|
@jasnow I'm guessing you'd prefer |
No, when I do it manually, I put it exactly where patched_versions would be. |
Implements a fix for #656.